package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * project
 *
 * @author 蒼飞
 * @date 2023-11-24
 */
public class Project extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private int pid;
    /** 项目id */
    private String id;
    /** pdf名称 */
    private String pdfName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 详细文件url */
    @Excel(name = "详细文件url")
    private String detailFileUrl;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    private List<Car> cars;
    /** 项目进度 */
    @Excel(name = "项目进度")
    private String process;

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public String getPdfName() {
        return pdfName;
    }

    public void setPdfName(String pdfName) {
        this.pdfName = pdfName;
    }

    public void setDetailFileUrl(String detailFileUrl)
    {
        this.detailFileUrl = detailFileUrl;
    }

    public String getDetailFileUrl()
    {
        return detailFileUrl;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setProcess(String process)
    {
        this.process = process;
    }

    public String getProcess()
    {
        return process;
    }

    public List<Car> getCars() {
        return cars;
    }

    public void setCars(List<Car> cars) {
        this.cars = cars;
    }

    @Override
    public String toString() {
        return "Project{" +
                "pid=" + pid +
                ", id='" + id + '\'' +
                ", pdfName='" + pdfName + '\'' +
                ", name='" + name + '\'' +
                ", detailFileUrl='" + detailFileUrl + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", cars=" + cars +
                ", process='" + process + '\'' +
                '}';
    }
}
